/*
 * 描述 资金接口
 * Create by cy on 2018/10/25
 * */

const express = require("express");
const router = express.Router();
const db = require("../../db");

router.get("/zyfb", (req, res) => {
  const { pageName } = req.query;
  console.log(pageName);
  let s = `SELECT * FROM pg9_zyfb_zyfbhtdj WHERE project_id='1001808'`;

  db.query(s, function (error, result) {
    if (error) throw error;
    res.json({
      data: result,
    });
  });
});
module.exports = router;
